﻿using System.ComponentModel.DataAnnotations;
using System;

namespace WS.EKA.Model
{
    [Table("V_Member")]
    public class Account:BaseModel
    {
        [Key]
        public System.Guid Guid { get; set; }
        
        [Required]
        [StringLength(50,MinimumLength=6)]
        public string MemLoginID { get; set; }

        [Required]
        [StringLength(50, MinimumLength = 6)]
        public string Pwd { get; set; }

        //[Required]
        //public int EmployeeID { get; set; }

        public string Email { get; set; }

        public decimal AdvancePayment { get; set; }

        public string LevelName { get; set; }

        public int Score { get; set; }
        public int RankScore { get; set; }

        public Nullable<Guid> MemberRankGuid { get; set; }
        [NotMapped]
        public bool RememberMe { get; set; }
    }
}
